-- Copyright (c) 2001 by Extreme Networks
-- All rights reserved.
-- $Id: SWATCH2-MIB.txt,v 1.6 2001/11/02 21:35:56 tflagg Exp $
--
-- MIB for ServiceWatch 2 Network Services health and performance monitor
--SWATCH2-MIB DEFINITIONS::=BEGINIMPORTSmgmt,NetworkAddress,IpAddress,Counter,Gauge,TimeTicksFROM RFC1155-SMI
OBJECT-TYPEFROM RFC-1212
enterprises
FROM RFC1155-SMI
OBJECT-TYPEFROM RFC-1212
-- DisplayString
-- FROM RFC1213-MIBTRAP-TYPEFROM RFC-1215;-- This MIB module uses the extended OBJECT-TYPE macro as-- defined in [14];-- MIB-II (same prefix as MIB-I)-- mib-2 OBJECT IDENTIFIER ::= { mgmt 1 }-- textual conventionsDisplayString::=OCTETSTRING-- This data type is used to model textual information taken-- from the NVT ASCII character set. By convention, objects-- with this syntax are declared as having---- SIZE (0..255)PhysAddress::=OCTETSTRING-- This data type is used to model media addresses. For many-- types of media, this will be in a binary representation.-- For example, an ethernet address would be represented as
-- a string of 6 octets.-- groups in MIB-II-- system OBJECT IDENTIFIER ::= { mib-2 1 }
-- interfaces OBJECT IDENTIFIER ::= { mib-2 2 }
-- at OBJECT IDENTIFIER ::= { mib-2 3 }
-- ip OBJECT IDENTIFIER ::= { mib-2 4 }
-- icmp OBJECT IDENTIFIER ::= { mib-2 5 }
-- tcp OBJECT IDENTIFIER ::= { mib-2 6 }
-- udp OBJECT IDENTIFIER ::= { mib-2 7 }
-- egp OBJECT IDENTIFIER ::= { mib-2 8 }-- historical (some say hysterical)-- cmot OBJECT IDENTIFIER ::= { mib-2 9 }-- transmission OBJECT IDENTIFIER ::= { mib-2 10 }-- snmp OBJECT IDENTIFIER ::= { mib-2 11 }-- MIB for the ServiceWatch Agent network services monitoring.-- This MIB module uses the extended OBJECT-TYPE macro as-- defined in [14];-- MIB-II (same prefix as MIB-I)extremenetworks OBJECTIDENTIFIER::={ enterprises 1916}extremeMgmt OBJECTIDENTIFIER::={ extremenetworks 5}
extremeSwatch OBJECTIDENTIFIER::={ extremeMgmt 5}swatchMib OBJECTIDENTIFIER::={ extremeSwatch 3}isPerf OBJECTIDENTIFIER::={ swatchMib 1}-------------------------------------------------------------------isTable OBJECT-TYPESYNTAXSEQUENCEOF IsEntry
ACCESSnot-accessibleSTATUSmandatoryDESCRIPTION"The list of network servers and their
status. The number of entries is given
by the value of isNumber."::={ isPerf 1}isEntry OBJECT-TYPESYNTAX IsEntry
ACCESSnot-accessible
STATUSmandatoryDESCRIPTION"An entry for a network server containing
objects describing the health and performance
of the network server."INDEX{ isRequestID }::={ isTable 1}
IsEntry ::=SEQUENCE{
isRequestID
INTEGER,
isRequestName
DisplayString,
isHostName
DisplayString,
isPollerType
DisplayString,
isPort
INTEGER,
isGateHostName
DisplayString,
isMaxWait
INTEGER,
isInterval
INTEGER,
isServiceStatus
INTEGER,
isError
INTEGER,
isErrorLevel
INTEGER,
isNCFails
INTEGER,
isResponseTimeInteger
INTEGER,
isBytesRead
INTEGER,
isRequestNumber
INTEGER,
isResponseType
INTEGER,
isResponseReason
DisplayString,
isIPAddress
DisplayString}-- The isPerf groupisRequestID OBJECT-TYPESYNTAXINTEGER(1..65535)ACCESSread-onlySTATUSmandatoryDESCRIPTION"The Request ID of the ServiceWatch request."::={ isEntry 1}isRequestName OBJECT-TYPE
SYNTAXDisplayString(SIZE(0..31))ACCESSread-onlySTATUSmandatoryDESCRIPTION"The name of the ServiceWatch request."::={ isEntry 2}isHostName OBJECT-TYPESYNTAXDisplayString(SIZE(0..128))ACCESSread-onlySTATUSmandatoryDESCRIPTION"The hostname that is being monitored."::={ isEntry 4}isPollerType OBJECT-TYPESYNTAXDisplayString(SIZE(0..32))
ACCESSread-onlySTATUSmandatoryDESCRIPTION"The type of poll performed. For example,
'http', or 'ftp', etc."::={ isEntry 5}isPort OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The TCP/IP or UDP/IP port number used to
contact the network server. You specify the port
number to use in isURL."::={ isEntry 6}isGateHostName OBJECT-TYPESYNTAXDisplayString(SIZE(0..15))ACCESSread-onlySTATUSmandatoryDESCRIPTION
"If set, this host must be up before alerts are sent."::={ isEntry 7}isMaxWait OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The maximum amount of time to wait before
timing out during an attempt to perform
a query on a server."::={ isEntry 8}isInterval OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The amount of time between poll attempts."::={ isEntry 9}isServiceStatus OBJECT-TYPESYNTAXINTEGER{up(1),
down(2),slow(3),unknown(4),polling(5)}ACCESSread-onlySTATUSmandatoryDESCRIPTION"The status of the service polled."::={ isEntry 10}isError OBJECT-TYPESYNTAXINTEGER{none(1),connectionTimeOut(2),sendingTimeOut(3),recevingTimeOut(4),generalTimeOut(5),
connectToServerFailed(6),sendingToServerFailed(7),receivingFromServerFailed(8),hostNameInURLNotFoundViaNameService(9),socketError(10),badProtocolType(11),unknownFailure(12),couldNotExecuteExtensibleProgram(13),extensionProgramSendNoResult(14),extendAPINotLicensed(15),sslFeatureNotEnabled(16),invalidServerResponse(17),protocolSpecificError(18),
gateHostDown(19),sqlQueryFailed(20)}ACCESSread-onlySTATUSmandatoryDESCRIPTION"The error that occurred (if any)."::={ isEntry 11}isErrorLevel OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The error level to set when an event occurs for
this URL (the user can specify any valid integer
to help them determine the severity of the
error."::={ isEntry 12}isNCFails OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatory
DESCRIPTION"The number of CONSECUTIVE failures when
attempting to complete the request to a
network server."::={ isEntry 13}isResponseTimeInteger OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The response time, in seconds, for the server
to complete the request. (An integer.)"::={ isEntry 14}isBytesRead OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The number of data bytes read from the server
on the last request."::={ isEntry 15}isRequestNumber OBJECT-TYPE
SYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The request number (relates to isNRequests and
isInterval."::={ isEntry 16}isResponseType OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The response type as returned from the server.
For example 200-299 means the request succeeded,
400-499 are bad requests, etc."::={ isEntry 17}isResponseReason OBJECT-TYPESYNTAXDisplayString(SIZE(0..127))ACCESSread-onlySTATUSmandatory
DESCRIPTION"A textual description of the server's
response type, as returned from the server.
(This response should contain the string
describing the responseType byte.)"::={ isEntry 18}isIPAddress OBJECT-TYPESYNTAXDisplayString(SIZE(0..20))ACCESSread-onlySTATUSmandatoryDESCRIPTION"The IP address to which this entry's monitoring
information pertains."::={ isEntry 19}-- **********************************************************************
-- is traps (server up/down)
-- **********************************************************************isTraps OBJECTIDENTIFIER::={ swatchMib 2}
serverFailed TRAP-TYPEENTERPRISE isTraps
VARIABLES{
isRequestID,
isRequestName
-- We'll stop here. The user actually gets to-- specify which variables are sent.}DESCRIPTION"The network server failed to correctly reply
to the request in the time allowed."--#SUMMARY "Received ServiceWatch 'down' event $E, $# args: $*"--#SEVERITY MAJOR::=1serverUp TRAP-TYPEENTERPRISE isTraps
VARIABLES{
isRequestID,
isRequestName
-- We'll stop here. The user actually gets to-- specify which variables are sent.}DESCRIPTION"If notifyStateChange is selected,
the state of the network service changed from
down to up, then a 'serverUp' trap is sent."--#SUMMARY "Received ServiceWatch 'up' event $E, $# args: $*"
--#SEVERITY NORMAL::=2END